package com.example.hetingting

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query

@Dao
interface HistoryDao {
    @Insert
    fun insert(history: History)

    @Query("SELECT * FROM history")
    fun getAllHistory(): List<History>
}